package collection;

public class Node {
    Object element;//当前
    Node next;
    Node pre;

    public Node(Object element, Node next, Node pre) {
        this.element = element;
        this.next = next;
        this.pre = pre;
    }

    public Node(Object element) {
        this.element = element;
    }
}
